package com.bean;

import java.sql.Timestamp;


/**
 * UserFavorite entity. @author MyEclipse Persistence Tools
 */

public class UserFavorite  implements java.io.Serializable {


    // Fields    

     /** serialVersionUID*/
	private static final long serialVersionUID = 5222887700899041802L;
	private Long id;
     private Userinfo userinfo;
     private Short category;
     private Long resId;
     private Timestamp createTime;


    // Constructors

    /** default constructor */
    public UserFavorite() {
    }

    
    /** full constructor */
    public UserFavorite(Userinfo userinfo, Short category, Long resId, Timestamp createTime) {
        this.userinfo = userinfo;
        this.category = category;
        this.resId = resId;
        this.createTime = createTime;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfo() {
        return this.userinfo;
    }
    
    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Short getCategory() {
        return this.category;
    }
    
    public void setCategory(Short category) {
        this.category = category;
    }

    public Long getResId() {
        return this.resId;
    }
    
    public void setResId(Long resId) {
        this.resId = resId;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
   








}